//
//  QLKPageControl.h
//
//  Copyright 2015 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#define PAGE_VIEW_SPACE_BETWEEN_DOTS            5

#define PAGE_VIEW_NORMAL_DOT_WIDTH              6
#define PAGE_VIEW_NORMAL_DOT_HEIGHT             6

#define PAGE_VIEW_HIGHLIGHT_DOT_WIDTH           6
#define PAGE_VIEW_HIGHLIGHT_DOT_HEIGHT          6

#define PAGE_VIEW_SELECTED_DOT_IMAGE [UIImage imageNamed:@"explain_highlight_dot.png"]
#define PAGE_VIEW_DOT_IMAGE [UIImage imageNamed:@"explain_normal_dot.png"];


@interface QLKPageControl : UIView {
    NSUInteger _numberOfPages;
    NSUInteger _currentPage;
    UIImageView *_selectedDotView;
}
@property (nonatomic,assign)NSUInteger numberOfPages;
@property (nonatomic,assign)NSUInteger currentPage;

- (id)initWithPageNum:(NSUInteger)pageNum;

- (void)setInitStateFromNib:(NSUInteger)pageNum;

@end
